<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib  uri="http://java.sun.com/jsp/jstl/core"  prefix="c" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>onlineMsg-登录</title>
    <link rel="stylesheet" href="statics/plugs/layui/css/layui.css">
    <link rel="stylesheet" href="statics/css/admin.css">
</head>
<body>



<div id="container">
    <div></div>
    <div class="admin-login-background">
        <div class="admin-header">
                <h3 class="logo">onlineMsg</h3>
                <p>onlineMsg沟通生活</p>

        </div>
        <h3 style="color: #1E9FFF;">重置新密码</h3>
        <form class="layui-form" action="resetPassword">
            <div>
                <i class="layui-icon layui-icon-password admin-icon admin-icon-password"></i>
                <input type="password" name="password" placeholder="请输入新密码"
                       autocomplete="off" lay-verify="required|pass" lay-verType="tips"
                       class="layui-input admin-input admin-input-username">
            </div>

            <div>
                <i class="layui-icon layui-icon-password admin-icon admin-icon-password"></i>
                <input type="password" name="repassword"
                       placeholder="重复新密码"
                       autocomplete="off"  lay-verify="required|pass"  lay-verType="tips"
                       class="layui-input admin-input">
            </div>
            <div>
                <input type="text" name="verify"
                       placeholder="验证码"
                       autocomplete="off"  lay-verify="required|verify"  lay-verType="tips"
                       class="layui-input admin-input admin-input-verify    ">
                <img class="admin-captcha" style="width: 84px; height: 30px" src="${pageContext.request.contextPath}/statics/verify.jpg" >
            </div>
            
             <p style="color: red;">
            	<c:if test="${param.resetPass=='verify'}">验证码输入错误！</c:if>
            	<c:if test="${param.resetPass=='error'}">密码重置失败！</c:if>
            </p>
            
            <button class="layui-btn admin-button sendmail" lay-submit lay-filter="resetPassForm">确定提交</button>

            <div style="line-height: 30px;">
                <a href="register.html">没有有账号注册</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <a href="login.html">我已有账号去登录</a>
            </div>
        </form>
    </div>
</div>
<script src="statics/plugs/layui/layui.js"></script>
<script src="statics/js/userinfo.js"></script>

</body>
</html>